package com.crealth.model;

import java.io.Serializable;

public class SipAccountModel implements Serializable {
	private static final long serialVersionUID = 18484021L;
	
	private int id;
	private String sipServer;
	private String sipAccount;
	private Integer nSipAct;
	private String sipPwd;
	private int status;
	private boolean isUsed;  // 是否在使用中
	
	public SipAccountModel(String sipSvr, Integer nsipAct, String sipPwd) {
		this.sipServer = sipSvr;
		this.nSipAct = nsipAct;
		this.sipPwd = sipPwd;
	}
	
	public SipAccountModel() {
		isUsed = false;
	}	
	public String getSipAccount() {
		return sipAccount;
	}
	public void setSipAccount(String sipAccount) {
		this.sipAccount = sipAccount;
	}
	public String getSipPwd() {
		return sipPwd;
	}
	public void setSipPwd(String sipPwd) {
		this.sipPwd = sipPwd;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public boolean isUsed() {
		return isUsed;
	}
	public void setUsed(boolean isUsed) {
		this.isUsed = isUsed;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSipServer() {
		return sipServer;
	}
	public void setSipServer(String sipServer) {
		this.sipServer = sipServer;
	}

	public Integer getnSipAct() {
		return nSipAct;
	}

	public void setnSipAct(Integer nSipAct) {
		this.nSipAct = nSipAct;
	}
	
}
